package java3_29;

import java.time.DayOfWeek;
import java.time.LocalDate;

/**
 * 3：输出今年的国庆节（10.1）是周几
 */
public class Homework3 {
    public static void main(String[] args) {
        LocalDate now = LocalDate.now();
        LocalDate nationalDay = LocalDate.of(now.getYear(), 10, 1);
        DayOfWeek dayOfWeek = nationalDay.getDayOfWeek();
        System.out.println("今年国庆节是周 " + dayOfWeek);
    }
}
